package com.hex.liyue.usermodule.view;

import android.app.Activity;

import com.hex.liyue.commonmodule.view.picker.OptionPicker;

/**
 * Created by yukuo on 2016/4/27.
 * 性别选择
 */
public class SexPicker extends OptionPicker {

    public SexPicker(Activity activity) {
        super(activity, new String[]{
                "男",
                "女"
        });
    }

    /**
     * 仅仅提供男和女来选择
     */
    public void onlyMaleAndFemale() {
        options.remove(options.size() - 1);
    }
}
